﻿// © 2005 IDesign Inc. All rights reserved 
//Questions? Comments? go to 
//http://www.idesign.net

using System;
using System.Web.Services;
using System.EnterpriseServices;

[WebServiceBinding("IApplicationManager")]
interface IApplicationManager
{
   [WebMethod(Description="Removes all users and roles from the application and deletes the application.",TransactionOption=TransactionOption.RequiresNew)]
   void DeleteApplication(string application);

   [WebMethod(Description="Deletes all applications, and removes all users and roles from  all applications.",TransactionOption=TransactionOption.RequiresNew)]
   void DeleteAllApplications();

   [WebMethod(Description="Returns available applications.",TransactionOption=TransactionOption.RequiresNew)]
   string[] GetApplications();
}